package com.wanghua.spring.action;

import com.opensymphony.xwork2.ActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Scope("prototype")
@Controller("waitAction")
public class WaitAction extends ActionSupport {
    @Override
    public String execute() throws Exception {
        Thread.sleep(10000);
        return SUCCESS;
    }
}
